package com.xx.pojo.po;

import com.xx.common.PagePo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(value = "学生分页查询实体")
public class StudentQueryPo extends PagePo {

    @NotNull(message = "学生姓名不能为空")
    @ApiModelProperty(value = "学生姓名")
    private String name;
}
